<!DOCTYPE html >
<html lang="zh-CN">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
    <title>信号管理</title>
    <meta charset="utf-8">
    <script src="http://static.qiyi.com/qui/0.8.0/js/qui.js"></script>
    <script charset="utf-8" type="text/javascript" src="js/qui_0.8.0/jquery.qui.suggest.js?v=2014122229711"></script>
    <link rel="stylesheet" href="http://static.qiyi.com/qui/0.8.0/css/themes/lego/theme.css">
    <link rel="stylesheet" href="./css/copyLego.css">


    <script type="text/javascript">
        document.write('<scri' + 'pt src="./js/record.js?v=1" charset="utf-8" type="text/javascript"></s' + 'cript>');
    </script>

</head>
<style type="text/css">

    .qui-tip .qui-tip-inner {
        z-index: 1999;
        min-width: 150px;
        text-align: center
    }

    thead tr th {
        text-align: center
    }


</style>
<body class="skin-lego">
<header class="main-header">

</header>
<div class="main-wrapper">
    <div class="main-content" id="j-pjax-container">
        <div class="content-wrapper">
            <section class="content-header">
                <ol class="breadcrumb">
                    <li>收录系统</li>
                    <li class="active">信号管理</li>
                </ol>
            </section>
            <section class="content">
                <div class="container-fluid">
                    <div id="j-view-container">
                        <form class="form-inline grid-query-form" id="query-record-library-form" role="queryForm">
                            <div class="form-container">
                                <div class="container-fluid">
                                    <div class="row">
                                        <div class="col-lg-3 col-md-6 col-sm-6 col-xs-6">
                                            <div class="form-group query-group">
                                                <label class="control-label">信号名称</label>
                                                <input type="text" class="form-control" role="query-text"
                                                       name="LIKES_recordSignal.signal_name">
                                            </div>
                                        </div>
                                        <div class="col-lg-3 col-md-6  col-xs-6">
                                            <div class="form-group query-group">
                                                <label class="control-label">服务器集群</label>
                                                <input type="text" class="form-control" role="query-text"
                                                       name="LIKES_recordSignal.server_cluster">
                                            </div>
                                        </div>


                                    </div>
                                </div>
                            </div>
                        </form>
                        <form class="form-inline grid-query-form">
                            <div class="form-container">
                                <div class="container-fluid" style="margin-left: 1.2%">
                                    <div class="row">
                                        <button type="button" name="query_btn" class="btn">搜索</button>
                                        <button type="button" name="open_new_dlg_btn" class="btn">新建</button>
                                    </div>
                                </div>
                            </div>
                        </form>
                        <form class="form-inline grid-query-form">
                            <div class="form-container">
                                <div class="container-fluid">
                                    <table id="list">
                                        <tr>
                                            <td></td>
                                        </tr>
                                    </table>
                                    <div id="pager"></div>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </section>
        </div>
    </div>
</div>
<form class="form-horizontal" role="addForm" style="display: none">
    <div class="form-container j-form-components">
        <div class="container-fluid">
            <div class="form-group control-group" style="display: none">
                <label class="col-xs-2 control-label">信号id</label>
                <div class="col-xs-4 controls">
                    <input type="text" name="signal_id" class="form-control" style="width:250px;">
                </div>
            </div>
            <div class="form-group control-group">
                <label class="col-xs-2 control-label">信号名称</label>
                <div class="col-xs-4 controls">
                    <input type="text" name="signal_name" class="form-control" style="width:250px;">
                </div>
            </div>
            <div class="form-group control-group">
                <label class="col-xs-2 control-label">信号流地址</label>
                <div class="col-xs-4 controls">
                    <input type="text" name="signal_address_name" class="form-control" style="width:250px;">
                </div>
            </div>


            <div class="form-group control-group">
                <label class="col-xs-2 control-label">服务器集群</label>
                <div class="col-xs-4 controls">
                    <input name="server_cluster_name" class="form-control" style="width:250px;" />
                </div>
            </div>

            <div class="form-group control-group">
                <label class="col-xs-2 control-label">优先级</label>
                <div class="col-xs-4 controls">
                    <select name="priority_name" class="form-control" style="width:250px;">
                        <option value="0"></option>
                        <option value="1">低</option>
                        <option value="2">较低</option>
                        <option value="3">中</option>
                        <option value="4">高</option>
                    </select>
                </div>
            </div>

            <div class="form-group control-group">
                <label class="col-xs-2 control-label">启用状态</label>
                <div class="col-xs-4 controls">
                    <select class="form-control " name="status" style="width: 120px">
                        <option value="1">上线</option>
                        <option value="0">下线</option>
                    </select>
                </div>
            </div>

            <div class="form-group control-group">
                <label class="col-xs-2 control-label"></label>
                <div class="col-xs-8 form-inline">
                    <button type="button" name="add_signal_btn" class="btn">新建</button>
                    <button type="button" name="edit_signal_btn" class="btn">修改</button>
                    <button type="button" name="cancel_btn" class="btn">取消</button>
                </div>
            </div>
        </div>
    </div>
</form>
</body>
<script type="text/javascript">
    qrequire(['record'], function () {
        Ancestor.Auth.getAuthData({url: "/epg/channel.html"}, function (rdata) {
            Record.Signal_Action.run();

        })
    })
</script>
</html>